#include "Pch.h"

#include "Dx11RenderContext.h"
#include "Dx11Globals.h"

namespace MCD
{
	static Mat44f gTransforms[Dx11RenderContext::MAX_TRANSFORMS];

	void Dx11RenderContext::setTransform(size_t type, const Mat44f& transform)
	{
		gTransforms[type] = transform;
	}

	const Mat44f& Dx11RenderContext::getTransform(size_t type)
	{
		MCD_ASSUME(type < MAX_TRANSFORMS);
		return gTransforms[type];
	}

}	// namespace MCD